home *** CD-ROM | disk | FTP | other *** search
- # This file establishes user-friendly symlinks to devices according to
- # Ubuntu policy. See udev(7) for syntax.
- #
- # The names of the actual devices themselves must not be set here, but
- # in 20-names.rules; the permissions and ownership of those devices
- # should be set in 40-permissions.rules.
-
- # Compatibility symlinks for /dev/scd* devices
- SUBSYSTEMS=="scsi", KERNEL=="sr[0-9]*", SYMLINK+="%k"
-
- # Compatibility symlinks for USB printers
- SUBSYSTEMS=="usb", KERNEL=="lp[0-9]*", SYMLINK+="usb%k"
-
- # Compatibility symlink for the CMOS RTC
- SUBSYSTEM=="rtc", DRIVERS=="rtc_cmos", SYMLINK+="rtc"
-
- # Create /dev/pilot symlink for Palm Pilots
- KERNEL=="ttyUSB*", ATTRS{product}=="Palm Handheld*|Handspring *|palmOne Handheld", \
- SYMLINK+="pilot"
-
- # Reverse mapping for /sys/dev
- SUBSYSTEM=="block", SYMLINK+="block/%M:%m"
- SUBSYSTEM!="block", SYMLINK+="char/%M:%m"
-